# from speculation_rule.日线_成交量_星期 import Speculate
# from speculation_rule.五分钟线 import Speculate
from speculation_rule.最优均线查找 import Speculate
from speculation_rule.BackTest import BackTest
from data import Dataset
from multiprocessing import Pool
from time import sleep,time

# Speculate().download_data(100,60,1,3)
# Speculate().download_predict_data_today(60)
# Speculate().mkdata_by_auto(60)

def main():
    test = Speculate()
    st = time()
    test.find_best_ma2(r'日线_data',(3,366))
    et = time()
    print('\n\n',et-st,'s')
    
if __name__ == '__main__':
    main()